﻿using System.Windows;

namespace Brjnk.GpxExplorer.UI
{
    /// <summary>
    /// Interaction logic for DeleteOldCacheWindow.xaml
    /// </summary>
    public partial class DeleteOldCacheWindow : Window
    {
        private string name;
        private long size;

        public DeleteOldCacheWindow(string name, long size)
        {
            this.name = name;
            this.size = size;
            this.DataContext = this;
            InitializeComponent();
        }

        public string FileName { get { return name; } }

        public long FileSize { get { return size; } }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            this.DialogResult = true;
        }

        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            this.DialogResult = false;
        }
    }
}